function plotSegment(p0, p1, lineSpec, w)
%PLOTLINE Summary of this function goes here
%   Detailed explanation goes here
    x = [p0(1) p1(1)];
    y = [p0(2) p1(2)];
    plot(y, x, lineSpec, 'LineWidth', w);
end

